/**
 * 作者：陈文斌 on 2019/1/7.
 * 邮箱：chen_wennbin@163.com
 * 版本：v1.0
 */

import 'package:flutter/material.dart';
import 'package:crm/constant/constant.dart';

class AddressSection extends StatelessWidget {
  final String streetAddress;

  AddressSection({
    Key key,
    this.streetAddress,
  }) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      height: 17,
      child: Row(
        children: <Widget>[
          Image.asset(
            'images/bt_chat_location.png',
            width: 20,
            height: 20,
            fit: BoxFit.fill,
          ),
          Text(
            streetAddress ?? '',
            style: TextStyle(
              color: Color(0xFF95989A),
              fontSize: AppFontSizes.Font12,
              fontFamily: AppFontFamilies.PingFangSC,
              fontWeight: FontWeight.w500,
            ),
          )
        ],
      ),
    );
  }
}
